<gm:page title="Patrick's App" authenticate="true" css="http://gm.cdn.assets.patrick.geek.nz/macnz/global/fancy.css">

  <h1>Patrick's App</h1>
  <div class="content"><div class="ci narrow">
		

  <h2>Add New</h2>
 
  <gm:item template="t" data="${user}/test2" create="true" />
  
  <h2>The Old Stuff</h2>
<table style="width: 100%;">
<tr valign="top">
<td>
<gm:list id="myList" data="${user}/test2">
<gm:handleEvent src="detail"/>
</gm:list>
</td>
<td valign="top">
<gm:item id="detail" template="t">
<gm:handleEvent src="myList"/>
</gm:item>
</td>
</tr>
</table>

  
 </div></div>  
 
 <div class="sosumi">
  Copyright &copy; 2007 Patrick Quinn-Graham with <a href="http://soapbox.co.nz/rights-reserved">some rights reserved</a>. 
 </div>
 
 
 <gm:template id="t">
<table>
<tr>
<td>Title:</td>
<td><gm:text ref="atom:title"/></td>
</tr>
<tr>
<td>Date:</td>
<td><gm:date ref="gd:when/@startTime"/></td>
</tr>
<tr>
<td colspan="2" style="padding-top:10px"><gm:editButtons text="true"/></td>
</tr>
</table>
</gm:template>
</gm:page>